/**
 * Created by lianchao.deng on 2018/3/29.
 */
import Vue from 'vue'
import Vuex from 'vuex'
import mutations from './mutations'
import actions from './action'
import getters from './getters'

Vue.use(Vuex);

const state = {
    sex: 'female', //female-女，male-男
    start: 'true',
    chatArr: [], //聊天记录
    partChat: [] //每章节聊天记录
}

export default new Vuex.Store({
    state,
    getters,
    actions,
    mutations,
})
